package com.joysuch.wwyt.bp.bean.inspect;

import com.joysuch.wwyt.bp.entity.inspect.BpAppPlanTask;
import com.joysuch.wwyt.bp.entity.inspect.BpInspectPlan;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Author ZhangDong
 * @Date 2020/3/11 9:51
 */
@Data
public class BpInspectManageDto {

    @ApiModelProperty("检查任务详情")
    private BpAppPlanTask bpAppPlanTask;

    @ApiModelProperty("检查计划")
    private BpInspectPlan bpInspectPlan;

    public BpInspectManageDto(BpAppPlanTask bpAppPlanTask, BpInspectPlan bpInspectPlan) {
        this.bpAppPlanTask = bpAppPlanTask;
        this.bpInspectPlan = bpInspectPlan;
    }

    public BpInspectManageDto(BpAppPlanTask bpAppPlanTask, BpInspectPlan bpInspectPlan, LocalDateTime createTime, LocalDateTime inspectFinishTime) {
        this.bpAppPlanTask = bpAppPlanTask;
        this.bpInspectPlan = bpInspectPlan;
        this.createTime = createTime;
        this.inspectFinishTime = inspectFinishTime;
    }

    @ApiModelProperty("app排序字段")
    private LocalDateTime createTime;

    @ApiModelProperty("任务完成时间")
    private LocalDateTime inspectFinishTime;


    public BpInspectManageDto() {

    }
}
